﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
  
    public enum NPCType
    {
        Task,
        Pedlar,
        Blacksmith,
    }
    abstract class NPC
    {
        public string name;
        public string NPCType;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string nPCType
        {
            get { return this.NPCType; }
            set { this.NPCType = value; }
        }


        public NPC(string name, NPCType nPCType)
        {
            this.name = name;
            this.nPCType = NPCType;
        }

        public abstract void Speak();


    }
}
